<template>
  <div class="w950">
    <!-- 个人信息 -->
    <div class="center_box">
      <div class="center_tt">
        我的功能性道具
        <span class="line">
          <s class="l_4"></s>
        </span>
      </div>

      <div class="choose_box">
        <div id="choose_game" class="mr20 choose_game fl">
          <p class="fl" style="margin: 12px 8px">选择游戏：</p>
          <div class="box" id="selectBorder">
            <div class="tt" @mouseenter="yr">
              <s class="i_sp"></s>

              <span id="curBizName" class="curBizName" key="cf" value="穿越火线"
                >穿越火线</span
              >
            </div>
            <div
              @mouseleave="yc"
              class="choose_sub"
              id="game_list"
              key="cf"
              value="穿越火线"
            >
              <dl>
                <dt>选择游戏：</dt>
                <dd class="clearfix">
                  <a biz="cfhd" href="#">穿越火线</a><i>|</i>
                  <a biz="cf" href="#">战地之王</a><i>|</i>
                  <a biz="fo4" href="#">QQ音速</a>
                </dd>
              </dl>
            </div>
          </div>
          <div class="zone_content">
            <select id="zone1" class="select_area" style="">
              <option value="">请选择大区</option>
              <option value="81">上海电信</option>
              <option value="82">广东电信</option>
              <option value="102">广西电信</option>
              <option value="92">南方电信</option>
              <option value="91">湖南电信</option>
              <option value="85">湖北电信</option>
              <option value="86">浙江电信</option>
              <option value="94">江苏电信</option>
              <option value="87">福建电信</option>
              <option value="101">江西电信</option>
              <option value="88">陕西电信</option>
              <option value="90">四川电信</option>
              <option value="89">重庆电信</option>
              <option value="97">安徽电信</option>
              <option value="98">云南电信</option>
              <option value="93">北方网通</option>
              <option value="84">辽宁网通</option>
              <option value="99">黑龙江网通</option>
              <option value="100">吉林网通</option>
              <option value="83">北京网通</option>
              <option value="96">山东网通</option>
              <option value="103">山西网通</option>
              <option value="170">河南网通</option>
              <option value="171">河北网通</option>
              <option value="540">移动专区</option>
              <option value="660">教育网专区</option>
            </select>
            <select id="zone2" class="select_area" style="">
              <option value="">请选择服务器</option>
            </select>
            <select id="sel_role" class="select_area" style="">
              <option value="">请选择角色</option>
            </select>
          </div>
          <p class="txt fl">
            <a href="javascript:;" class="comm_btn" id="btn_query">查询</a>
          </p>
        </div>
      </div>

      <div class="blk_coin">
        <div class="center_tab">
          <a
            href="#"
            title="我的消息"
            :class="{ current: a }"
            @click="
              a = true;
              b = false;
            "
            >未使用</a
          >
          <a
            href="#"
            title="消息设置"
            :class="{ current: b }"
            @click="(a = false), (b = true)"
            >已使用</a
          >
        </div>
        <div class="center_tbl" v-show="a">
          <!-- 我的消息 -->
          <table>
            <tbody>
              <tr>
                <th width="200">道具名</th>
                <th width="120">数量</th>
                <th width="300">说明</th>
                <th>操作</th>
              </tr>
            </tbody>
            <tbody id="table_list_0">
              <tr>
                <td colspan="4">请选择游戏，查询功能性道具</td>
              </tr>
            </tbody>
          </table>
        </div>
        <!-- 消息设置 -->
        <div class="center_tbl" v-show="b">
          <!-- <div class="tbl_con"> -->
          <table>
            <tbody>
              <tr>
                <th width="200">道具名</th>
                <th width="120">数量</th>
                <th width="300">说明</th>
                <th>使用时间</th>
              </tr>
            </tbody>
            <tbody id="table_list_0">
              <tr>
                <td colspan="4">请选择游戏，查询功能性道具</td>
              </tr>
            </tbody>
          </table>
          <!-- </div> -->
        </div>
      </div>
    </div>
    <!-- 猜你喜欢 -->
    <div class="favorite">
      <div class="tt">
        <h6 class="fl">猜你喜欢</h6>
        <a href="#" class="more">换一换>></a>
      </div>
      <div class="clearfix">
        <div class="fav_wrapper">
          <dl>
            <dt>
              <a href="#" target="_blank">
                <img
                  src="https://ossweb-img.qq.com/images/daoju/app/cf/rectangle/N-cf-undefined-111943-100000-r479.jpg?_t=1647423450"
                  alt=""
                />
              </a>
            </dt>
            <dd>
              <p>
                <a href="#">
                  <b class="e">[穿越火线]</b>
                  火麒麟宝箱（1个）
                </a>
              </p>
              <p class="red">
                商城价：
                <b>6.00 QB</b>
              </p>
            </dd>
          </dl>
          <dl>
            <dt>
              <a href="#" target="_blank">
                <img
                  src="https://ossweb-img.qq.com/images/daoju/dbm/cf/54KnightSR25.jpg"
                  alt=""
                />
              </a>
            </dt>
            <dd>
              <p>
                <a href="#">
                  <b class="e">[穿越火线]</b>
                  Knight SR25（30天）
                </a>
              </p>
              <p class="red">
                商城价：
                <b>30.00 QB</b>
              </p>
            </dd>
          </dl>
          <dl>
            <dt>
              <a href="#" target="_blank">
                <img
                  src="https://ossweb-img.qq.com/images/daoju/app/cf/rectangle/N-cf-1-111943-100000-s25273.jpg?_t=1605518493"
                  alt=""
                />
              </a>
            </dt>
            <dd>
              <p>
                <a href="#">
                  <b class="e">[穿越火线]</b>
                  零-水下丽影宝箱（1个）
                </a>
              </p>
              <p class="red">
                商城价：
                <b>6.00 QB</b>
              </p>
            </dd>
          </dl>
          <dl>
            <dt>
              <a href="#" target="_blank">
                <img
                  src="https://ossweb-img.qq.com/images/daoju/app/cf/rectangle/N-cf-1-111943-103936-s26239.jpg?_t=1612691407"
                  alt=""
                />
              </a>
            </dt>
            <dd>
              <p>
                <a href="#">
                  <b class="e">[穿越火线]</b>
                  春节宝箱（5个）
                </a>
              </p>
              <p class="red">
                商城价：
                <b>28.00 QB</b>
              </p>
            </dd>
          </dl>
          <dl>
            <dt>
              <a href="#" target="_blank">
                <img
                  src="https://ossweb-img.qq.com/images/daoju/dbm/cf/107XM8-A.jpg"
                  alt=""
                />
              </a>
            </dt>
            <dd>
              <p>
                <a href="#">
                  <b class="e">[穿越火线]</b>
                  ，XM8-A（30天）
                </a>
              </p>
              <p class="red">
                商城价：
                <b>28.90 QB</b>
              </p>
            </dd>
          </dl>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "Rwu13",
  data() {
    return {
      a: true,
      b: false,
      q: true,
      w: false,
      e: false,
      o: true,
    };
  },
  methods: {
    yr() {
      document.querySelector(".choose_sub").style.display = "block";
    },
    yc() {
      document.querySelector(".choose_sub").style.display = "none";
    },
  },
};
</script>

<style lang="scss" scoped>
.w950 {
  width: 950px;
  height: 569px;
  .choose_box {
    width: 908px;
    height: 54px;
    // margin: 8px 0px 0 22px;
    // padding: 10px 20px;
    line-height: 30px;
    border: 1px solid #e6e9ef;
    background: #fff;
    margin-bottom: 20px;
    .zone_content {
      width: 307px;
      height: 31px;
      position: absolute;
      margin: -42px 238px;
      .select_area {
        height: 31px;
        line-height: 31px;
        width: 100px;
        margin-right: 2px;
      }
    }
    a.comm_btn {
      width: 90px;
      height: 25px;
      line-height: 26px;
      overflow: hidden;
      text-decoration: none;
      margin: -60px 0px 33px 553px;
    }
    .comm_btn {
      display: inline-block;
      background: #f74a4a;
      color: #fff;
      border-bottom: 2px solid #e43333;
      text-align: center;
      cursor: pointer;
    }
    .box {
      border: 1px solid #e5e5e5;
      padding: 5px 15px;
      line-height: 20px;
      height: 20px;
      width: 120px;
      margin-right: 15px;
      position: relative;
      z-index: 20;
      float: left;
      margin: -42px 0px 0px 70px;
      .choose_sub {
        top: 30px;
        left: -1px;
        width: 420px;
        display: none;
        position: absolute;
        z-index: 1;
        top: 36px;
        left: 0;
        border: 1px solid #e5e5e5;
        width: 395px;
        padding: 0 10px;
        background: #fff;
        overflow: hidden;

        dd {
          margin-left: 70px;
          a:hover {
            color: #f74a4a;
          }
          i {
            font-style: normal;
            margin: 0 5px;
          }
          a,
          i {
            display: block;
            float: left;
            white-space: nowrap;
          }
        }
        dl {
          border-top: 1px solid #e5e5e5;
          padding: 10px;
          margin-top: -1px;
          line-height: 26px;
          dt {
            font-weight: 800;
            float: left;
          }
        }
      }
      s {
        float: right;
        width: 10px;
        height: 7px;
        margin-top: 7px;
        overflow: hidden;
      }
      .i_sp {
        background: url(//js02.daoju.qq.com/common/images/icon.png) no-repeat;
        background-position: 0 -24px;
      }
    }
  }
  td {
    border-top: 1px solid #e6e9ef;
    position: absolute;
    margin: 0px 0 0 24px;
    width: 865px;
    line-height: 75px;
    text-align: center;
    label {
      margin-left: 20px;
    }
    .blue,
    a.blue {
      color: #1994eb;
    }
  }
  th {
    font-weight: 400;
    font-size: 14px;
    padding: 11px 0;
    line-height: 18px;
    text-align: center;
  }
  .loading {
    display: table;
    width: 100%;
    background: #fff;
    _display: block;
    .loadmsg {
      display: table-cell;
      _display: block;
      vertical-align: middle;
      text-align: center;
      background: url(//daoju.qq.com/becombine/mall/images/loading.gif)
        no-repeat center center;
      padding-top: 110px;
    }
  }
  .vat-hd {
    width: 866px;
    height: 51px;
    border-bottom: 1px solid #d1d1d1;
    zoom: 1;
    list-style: none;
    .od1 {
      width: 122px;
    }
    .od2 {
      width: 200px;
    }
    .od3 {
      width: 150px;
    }
    .od4 {
      width: 206px;
    }
    .od5 {
      width: 174px;
    }
    li {
      float: left;
      text-align: center;
      font-size: 14px;
      height: 50px;
      line-height: 50px;
      overflow: hidden;
    }
  }
  .pic {
    float: left;
    width: 100px;
    height: 100px;
    background: url(//js02.daoju.qq.com/common/images/emotion.png) no-repeat;
  }
  .center_box {
    width: 910px;
    height: 388px;
    margin-bottom: 10px;
    padding: 15px 20px 20px 20px;
    border: 1px solid #e6e9ef;
    background: #fff;
    .center_tt {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 20px;
    position: relative;
    .line {
    display: block;
    background: #e6e9ef;
    height: 1px;
    overflow: hidden;
    margin-top: 5px;
    s {
    display: block;
    background: #f74a4a;
    width: 100px;
    height: 1px;
    overflow: hidden;
    .l_7 {
    width: 100px;
}
}
}
}
    table {
      width: 850px;
      border-collapse: collapse;
      border-spacing: 0;
      th {
        height: 40px;
        text-align: center;
        font-weight: 400;
        font-size: 14px;
      }
    }
  }
  .blk_coin {
    width: 908px;
    height: 267px;
    border: 1px solid #e6e9ef;
    background: #fff;

    .center_tbl {
      width: 906px;
      height: 140px;
      // padding: 28px 20px;
      // margin: 28px 0;
    }
    .center_tab {
      border-bottom: 1px solid #e6e9ef;
      height: 44px;
      a {
        width: 130px;
        height: 44px;
        font-size: 14px;
        line-height: 44px;
        text-align: center;
        border-right: 1px solid #e6e9ef;
        float: left;
        text-decoration: none;
        color: #3a3f4a;
      }
      a.current {
        border-bottom: 1px solid #f74a4a;
      }
    }
  }
}
.favorite {
  width: 950px;
  height: 255px;
  border: 1px solid #e6e9ef;
  background-color: #fff;
  .tt {
    width: 930px;
    font-size: 14px;
    height: 36px;
    line-height: 36px;
    padding: 0 10px;
    border-bottom: 1px solid #e6e9ef;
    .fl {
      float: left;
      font-size: 100%;
    }
    .more {
      font-size: 12px;
      color: #1994eb;
      font-family: "\5b8b\4f53";
      float: right;
    }
  }
  .clearfix {
    width: 950px;
    height: 218px;
    dl {
      width: 122px;
      height: 162px;
      padding: 28px 32px;
      border-left: 1px solid #f3f4f6;
      float: left;
      dt {
        width: 122px;
        height: 75px;
        img {
          display: block;
          width: 90px;
          height: 75px;
          margin: 10px auto;
        }
      }
      dd {
        width: 122px;
        height: 60px;
        text-align: center;
        margin-top: 9px;
        .red {
          height: 20px;
          color: #f74a4a;
          margin: 4px 0;
        }
        p {
          height: 37px;
          overflow: hidden;
          a:hover {
            color: #f74a4a;
          }
          .e {
            display: block;
            margin: 2px 0;
          }
          b {
            margin: 2px 0;
          }
        }
      }
    }
  }
}
</style>
